import React from 'react';

interface SvgIconProps extends React.SVGProps<SVGSVGElement> {
  component: React.FC<React.SVGProps<SVGSVGElement>>;
}

const SvgIcon: React.FC<SvgIconProps> = ({ component: Component, ...props }) => {
  return (
    <Component
      width="1em"
      height="1em"
      fill="currentColor"
      {...props}
    />
  );
};

export default SvgIcon; 